#ifndef PLAYER__H
#define PLAYER__H
#include <Windows.h>
class PlayerState;
class Player_impl;


class Player{
public:

    Player();
    ~Player();
    bool Play(TCHAR* fileName);
    bool PlayFrom(long pos);
    bool Repeate();

    bool Pause();
    bool Resume();
    bool Stop();
    void Init(HWND, HINSTANCE);

    PlayerState GetState();
    void SetState(PlayerState ps);

private:

    Player_impl* impl_;


};

#endif
